<?php

defined('SYSPATH') or die('No direct script access.');

class Model_Catalog extends Model {

    public function all_products() {
        return array(
            'Fender Stratocaster' => array('price' => '100', 'img' => '/media/images/guitar-1.png', 'desc' => 'Опис 1'),
            'Yamaha erg 121c' => array('price' => '150', 'img' => '/media/images/guitar-2.png', 'desc' => 'Опис 2'),
            'Dunlop Cry Baby 935q' => array('price' => '120', 'img' => '/media/images/guitar-3.png', 'desc' => 'Опис 3'),
        );
    }

    public function getCategories() {
        return array(
            'Гітари' => 212,
            'Комбо підсилювачі' => 80,
            'Ефекти для гітар' => 380
        );
    }

    public function getTopProducts() {
        return array(
            'Fender Stratocaster' => array('price' => '100', 'img' => '/media/images/guitar-1.png'),
            'Yamaha erg 121c' => array('price' => '150', 'img' => '/media/images/guitar-2.png'),
            'Dunlop Cry Baby 935q' => array('price' => '120', 'img' => '/media/images/guitar-3.png'),
        );
    }

}

// End Welcome
